Welcome![Sign In][Sign Up]
Location:
Search - winsock serv

Search list

[Internet-Networkwinsock server

Description: WINSOCK服务器端示例程序说明 该程序是基于对话框编程的,是采用一对多的方式进行连接的。 整个程序主要由CServerDlg,CServerApp,CListenSocket,CClientSocket构成的。 (所有关于类的说明在代码中有) 下面简单介绍一下程序流程: 主程序调用CListenSocket类的对象来进行对Socket的监听,当收到请求时调用主程序的函数来处理相应的连接,把Socket放进队列中。 对于Socket的接收数据和断开连接是由消息来触发的,是通过调用基类CSocket中的虚函数重载来处理的。 注:详细的过程,在程序代码中均有注释!-Winsock server sample program note that the procedure was based on dialog programming, using one-to-many is the way to connect. The entire process by CServerDlg, CServerApp, CListenSocket, constitute the CClientSocket. (All categories on the note in code) The following outlines procedures have : main program called CListenSocket category to the target of the listening socket, when the call request is received when the main program functions to the corresponding connections, socket into the queue. Socket for the reception of data and disconnected from the news to trigger, by calling the base class CSocket the virtual function to handle the heavy load. Note : Details of the procedure code have Notes!
Platform: | Size: 38912 | Author: 柳宝虎 | Hits:

[OtherlinuxServer_vcClient

Description: linux socket和winsock结合使用。linux作为服务器,windows来访问。简单测试小程序-linux socket and winsock combination. linux as a server, windows to access. Simple test applet
Platform: | Size: 7168 | Author: 王立东 | Hits:

[Internet-Networkwinsocket

Description: Windows 的 socket 编程入门实践 实现server与client的通信-Windows of the socket programming practice to achieve entry-server and client communications
Platform: | Size: 206848 | Author: 天翼 | Hits:

CodeBus www.codebus.net